package li.webqq.api;

import java.util.Map;

import li.http.Response;
import li.webqq.util.JsonUtil;

/**
 * @author 明伟
 */
public class GetFriendUin2Response extends Response {
    private String account;

    public String getAccount() {
        if (null == this.account) {
            Map map = (Map) JsonUtil.fromJson(super.getBody());
            if (null != map) {
                Map result = (Map) map.get("result");
                if (null != result) {
                    this.account = result.get("account") + "";
                }
            }
        }
        return this.account;
    }
}